package com.matt.domain.courseV2;

import com.matt.commons.model.Domain;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@Data
@Entity
@Table(name = "tc_course_appendix")
@EqualsAndHashCode(callSuper = true)
public class CourseAppendix extends Domain{

    @Column(columnDefinition = "varchar(50) COMMENT '名字' ")
    private String title;

    @Column(columnDefinition = "varchar(255) COMMENT '链接'")
    private String url;

    @Column(columnDefinition = "varchar(255) COMMENT '教具类型'")
    private String type;

    @Column(columnDefinition = "varchar(255) COMMENT '封面'")
    private String cover;

    @Column(columnDefinition = "varchar(255) COMMENT '封面类型'")
    private String coverType;

    @Column(columnDefinition = "varchar(32)  COMMENT '创建人'")
    private String createdBy;

    @Column(columnDefinition = "varchar(255)  COMMENT '创建人名称'")
    private String createdName;
}
